package com.group.entity.user;

import com.baomidou.mybatisplus.annotation.TableName;

import java.util.Date;

@TableName("usr_authority")
public class UserAuthorityEntity {

    /**
     * 权限id
     */
    private Long id;
    /**
     * 权限中文名称
     */
    private String  authorityName;

    /**
     * 权限令牌
     */
    private String authorityToken;
    /**
     * 权限对应的访问地址
     */
    private String authorityUrl;

    /**
     * 创建用户
     */
    private Long createUser;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 最后一次修改用户
     */
    private Long lastUpdateUser;

    /**
     * 最后一次修改时间
     */
    private Date lastUpdateTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getAuthorityName() {
        return authorityName;
    }

    public void setAuthorityName(String authorityName) {
        this.authorityName = authorityName;
    }

    public String getAuthorityToken() {
        return authorityToken;
    }

    public void setAuthorityToken(String authorityToken) {
        this.authorityToken = authorityToken;
    }

    public String getAuthorityUrl() {
        return authorityUrl;
    }

    public void setAuthorityUrl(String authorityUrl) {
        this.authorityUrl = authorityUrl;
    }

    public Long getCreateUser() {
        return createUser;
    }

    public void setCreateUser(Long createUser) {
        this.createUser = createUser;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getLastUpdateUser() {
        return lastUpdateUser;
    }

    public void setLastUpdateUser(Long lastUpdateUser) {
        this.lastUpdateUser = lastUpdateUser;
    }

    public Date getLastUpdateTime() {
        return lastUpdateTime;
    }

    public void setLastUpdateTime(Date lastUpdateTime) {
        this.lastUpdateTime = lastUpdateTime;
    }

    @Override
    public String toString() {
        return "UserAuthorityEntity{" +
                "id=" + id +
                ", authorityName='" + authorityName + '\'' +
                ", authorityToken='" + authorityToken + '\'' +
                ", authorityUrl='" + authorityUrl + '\'' +
                ", createUser=" + createUser +
                ", createTime=" + createTime +
                ", lastUpdateUser=" + lastUpdateUser +
                ", lastUpdateTime=" + lastUpdateTime +
                '}';
    }
}
